﻿@model FeiQubuke.Models.yaoqing

@{
    ViewBag.Title = "Create";
}

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>邀请你来参与我的幸福</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
            <select name="Sex"></select>
        </div>

        <div class="editor-label">
            @Html.EditorFor(model => model.Yao)
           
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.YaoSex)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Remark)
            @Html.ValidationMessageFor(model => model.Remark)
        </div>
        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("看幸福", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
